Repository navigation
fix(auto-close): don't rewrite a trailing table row that contains a dash - #542
Conversation
|
Architecture Data flow No data-flow sequence changed in this PR. Tip Run 🪧 More tips
Thanks for using PR Lens! It's free for OSS. If it helped, a star helps other teams find it. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 13 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
@danielroe is attempting to deploy a commit to the NuxtLabs Team on Vercel. A member of the Team first needs to authorize it. |
comark
@comark/angular
@comark/ansi
@comark/html
@comark/nuxt
@comark/react
@comark/svelte
@comark/vue
commit: |
Merging this PR will not alter performance1 warning
Comparing |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
What
Note
context: this is one of a few fixes from round-tripping the Nuxt docs through
parseMarkdown->renderMarkdown.a document that ends in a table like the options table in the Nuxt 3.x
nuxi cleanupdocs:parses with
"---"in the emptyDefaultcell. in| well-known | x |thexbecomesx--.closeTablescurrently treats the last row as a partial delimiter row whenever it contains a-or:anywhere, then pads every short cell with dashes.this only treats the row as a delimiter row when it holds nothing but pipes, dashes, colons and whitespace.